package org.lalib.entity.object;

import java.util.ArrayList;
import java.util.List;

import org.lalib.entity.object.variable.EVariable;

public class ECategory extends EBaseEntity {

	private static final long serialVersionUID = 1L;

	private String name = "";
	private String type;
	private String description;

	private ECategory parentCategory;
	private List<ECategory> childCategories = new ArrayList<ECategory>();
	private List<EVariable> variableList = new ArrayList<EVariable>();

	public ECategory() {
	}

	public ECategory(String name) {
		setName(name);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public ECategory getParentCategory() {
		return parentCategory;
	}

	public void setParentCategory(ECategory parentCategory) {
		this.parentCategory = parentCategory;
	}

	public List<ECategory> getChildCategories() {
		return childCategories;
	}

	public void setChildCategories(List<ECategory> childCategories) {
		this.childCategories = childCategories;
	}

	public List<EVariable> getVariableList() {
		return variableList;
	}

	public void setVariableList(List<EVariable> variableList) {
		this.variableList = variableList;
	}
}
